package com.hbnu.dao;

public class UserDao {
    private String name;
    private String mail;
    private int age;
    private NumDao numDao;

    public UserDao() {
    }

    public UserDao(String name, String mail, int age, NumDao numDao) {
        this.name = name;
        this.mail = mail;
        this.age = age;
        this.numDao = numDao;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public NumDao getNumDao() {
        return numDao;
    }

    public void setNumDao(NumDao numDao) {
        this.numDao = numDao;
    }

//    @Override
//    public String toString() {
//        return "UserDao{" +
//                "name='" + name + '\'' +
//                ", mail='" + mail + '\'' +
//                ", age=" + age +
//                ", numDao=" + numDao +
//                '}';
//    }
}
